package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.vo.MessageVO;

import java.util.List;

public interface MessageService {
    //获取某个用户的所有历史消息：
    public CommonResponse<List<MessageVO>> getHistoryMessage(String username);
    //更新某个用户的历史消息：
    public CommonResponse<MessageVO> updateHistoryMessage(MessageVO messageVO);

}
